//
//  CityStreetCell.m
//  cityStar
//
//  Created by joyban on 15-3-14.
//  Copyright (c) 2015年 tiny. All rights reserved.
//

#import "CityStreetCell.h"

@implementation CityStreetCell

+(CGFloat)heightOfTableCell
{
    return 120;
}

-(void)setDataModel:(CityStreetModel *)model
{
    self.namelabel.text = model.name;
     NSString * imagePath = [NSString stringWithFormat:@"%@",model.image];
    [self.backImage sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://api.icszx.com/image/c/id/%@/w/600/h/220/m/0",imagePath]] placeholderImage:[UIImage imageNamed:@"品牌列表_主图"]];

}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
